﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NikeSale.Models
{
    /// <summary>
    /// 用于添加到ComBox的键值对
    /// </summary>
    public class ComboxItem
    {
        private string text;
        private string id;

        public string Text
        {
            get { return this.text; }
            set { this.text = value; }
        }

        public string ID
        {
            get { return this.id; }
            set { this.id = value; }
        }

        public ComboxItem(string _Text, string _ID)
        {
            Text = _Text;
            ID = _ID;
        }
        public ComboxItem()
        {}

        public override string ToString()
        {
            return Text;
        }
    }
}
